package cn.edu.swufe.surverpark.struts2.service;

import cn.edu.swufe.surverpark.model.User;

/**
 *@author 陈龙 E-mail:529914446@qq.com
 *@version创建时间:2015年4月29日下午6:07:48
 *UserService
 */
public interface UserService extends BaseService<User> {
	public boolean isRegisted(String email);

	public User validateLoginInfo(String email, String md5);

	public User getEntityWithRoles(Integer userId);

	public void saveOrUpdateRole(User model, Integer[] ownRoles);

	public void clearAuthorize(Integer userId);
}

